<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

    <!-- 过滤所有li中的第一个 -->
    <style>

        li:first-child{
            color:red;
        }
        
    </style>
<body>
    
    <ul>
        <li>斗罗大陆</li>
        <li>三国演义</li>
        <li>拉钩教育</li>
    </ul>

</body>
</html>